package cate.common.table.pvp.guildwar.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("挑战难度")
public class GuildWarDifficultyRow extends ERow {

    @NoteField("获得星星数")
    public int star;

    @NoteField("附加属性")
    public String attrStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.star = xrw.getInteger("获得星星数", 0);
        this.attrStr = xrw.getString("附加属性");
    }

}
